<template>
  <div class="tree">
      
   <div>
       测试其他内容
  <!-- <slot 
  name="item"
    v-for="(item,index) in items"
    :text="item" >
    
  </slot> -->
  <slot 
  name="item"
    :text="items" >
    <!-- 这里写入备用内容 -->
  </slot>
</div>
  </div>
</template>
<script>

export default {
 
  props: ["items"],
  data() {
    return {
      indexs:this.index
    };
  },
 
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
@import '../assets/scss/utiles.scss';
    .tree{
      width:100%;
      ul{
         height: 100%;
         width:100%;
         white-space: nowrap;
         overflow: auto;
         li{
           padding:5px;
           margin-right:10px;
           
         }
      }
    }
</style>